package com.feicheng.common.message;

import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.PropertySource;
import org.springframework.stereotype.Component;

@PropertySource(value = {"classpath:message.properties"}, encoding = "UTF-8")
@Component
@ConfigurationProperties(prefix = "system")
@Data
@EqualsAndHashCode(callSuper = false)
public class SystemMessage implements Message {

    @Value("${system.user.E01}")
    private String E01;

    @Value("${system.user.E02}")
    private String E02;

    @Value("${system.user.E03}")
    private String E03;

    @Value("${system.role.E04}")
    private String E04;

    @Value("${system.role.E05}")
    private String E05;

    @Value("${system.role.E06}")
    private String E06;

    @Value("${system.role.E07}")
    private String E07;

    @Value("${system.permission.E08}")
    private String E08;

    @Value("${system.permission.E09}")
    private String E09;

    @Value("${system.permission.E10}")
    private String E10;

    @Value("${system.permission.E11}")
    private String E11;

}
